package com.yn.stragypattern.domain;

import com.yn.stragypattern.annotion.BankAPI;
import com.yn.stragypattern.annotion.BankAPIField;
import com.yn.stragypattern.impl.AbstractAPI;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author yangni
 * @version 1.0
 * 人工智能开发小组
 * @date 2022/12/2 17:13
 */
@BankAPI(url = "/bank/pay", desc = "支付接口")
@Data
public class PayAPI extends AbstractAPI {
    @BankAPIField(order = 1, type = "N", length = 20)
    private long userId;
    @BankAPIField(order = 2, type = "M", length = 10)
    private BigDecimal amount;
}
